<?php
include_once ('./base.php');

class api extends CI_Controller
{
    public function index(){
        echo getIPAddress();die;
        return die(json_encode(['code'=>1000,'msg'=>'ok']));
    }
}